<?php
class Phase extends AppModel {

	var $name = 'Phase';
	var $primaryKey = 'phase_index';
	var $displayField = 'phase_name' ;

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $belongsTo = array(
			'Project' => array('className' => 'Project',
								'foreignKey' => 'phase_project_id',
								'conditions' => '',
								'fields' => '',
								'order' => ''
			),
			'Phase' => array('className' => 'Phase',
								'foreignKey' => 'phase_index',
								'conditions' => '',
								'fields' => '',
								'order' => ''
			)
	); 	
}
?>